﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="manage_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>培训系统-后台管理</title>
  <link rel="stylesheet" type="text/css" href="skin/css/login.css" />
    <script language="javascript" type="text/javascript">
        function CheckForm() {
            var account = document.getElementById("txtAccountID");
            var pwd = document.getElementById("txtpwd");
            var checkcode = document.getElementById("txtcheckcode");
            if (account.value.length == 0)
            {
                alert("请填写你的帐号!");
                return false;
            }
            if(pwd.value.length == 0)
            {
                alert("请填写你的密码!");
                return false;
            }
            if (checkcode.value.length == 0)
            {
                alert("请填写验证码!");
                return false;
            }
        }
    </script>
    <style type="text/css">
html, body {
    margin:0;
	padding:0;
	background-color: #fff;
	height: 100%;
}
a {
	color: #666;
}
a:hover {
	color: #333;
}
div.tips {
        width:1024px;
	    height: 768px;
	    margin:-384px auto auto -512px;
	    top: 50%;
	    left: 50%;
	    position: absolute;
	   
}
</style>

   
</head>
<body id="logbody">
    <form id="form1" runat="server">
    <div>
      <div class="tips"><img src="skin/images/frame/login_bg.jpg" alt=""  width="1024px" height="768px"/>
      
      <div style=" margin-top:-445px;text-align:center"><asp:TextBox ID="txtAccountID" runat="server" Width="153px"></asp:TextBox> </div>
           <div style=" margin-top:20px; text-align:center"><asp:TextBox ID="txtpwd" runat="server" TextMode="Password" Width="153px"></asp:TextBox> </div>
           <div style=" margin-top:20px;padding-left:433px; margin-bottom:5px"><asp:TextBox ID="txtcheckcode" runat="server" Width="153px"></asp:TextBox> 
        <asp:Image id="Image2" runat="server" ImageUrl="imgvil.aspx" Height="18px"></asp:Image>
        <asp:LinkButton id="lbtnChangeimge" runat="server"  Text="看不清，换一张"  Font-Size="12px" ForeColor="White" OnClick="lbtnChangeimge_Click"></asp:LinkButton></div>
           <div style="margin-left:433px">
               <asp:Label ID="lblMessage2" runat="server" Visible="False" Text="验证码输入不正确!"  Font-Size="12px" ForeColor="White" ></asp:Label> 
                
           </div> 
           <div style="margin-top:10px;margin-left:433px; text-align:center; position:absolute">
              <div style="float:left"><asp:ImageButton ID="ibtnLogin" runat="server" ImageUrl="skin/images/frame/btn_login.gif"  OnClientClick="return CheckForm();false" OnClick="ibtnLogin_Click"  />
               </div><div style="float:left">  <asp:ImageButton ID="ibtnreset" runat="server" ImageUrl="skin/images/frame/btn_reset.gif"  OnClick="ibtnreset_Click" /></div>
           </div>
        </div>  
    </div>
    </form>
</body>
</html>
